home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
develop, the CD; issue 1
/
Apple_Develop_1989.bin
/
Offscreen
/
FracApp 2.0B3
/
FracApp
/
FracApp.rsrc
/
bin.rsrc_CODE_21_MAMiniInit.txt
< prev
next >
Wrap
Text File
|
1989-10-13
|
37KB
|
641 lines
# near model CODE resource
# jump table entries: 6048-6052 (5 of them)
export_756:
00000000 4E56 0000 link A6, 0
00000004 4EBA 0636 jsr [PC + 0x636 /* 0000063C */]
00000008 7000 moveq.l D0, 0x00
0000000A 2B40 F9F4 move.l [A5 - 0x60C], D0
0000000E 2F2D FCDC move.l -[A7], [A5 - 0x324]
00000012 4EAD 0122 jsr [A5 + 0x122 /* export_32 */]
00000016 4E5E unlink A6
00000018 4E75 rts
0000001A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_757: // at 0000001C (misaligned)
0000001E FFFC .invalid <<F/7/7>>
00000020 2F0C move.l -[A7], A4
00000022 486D FE9A pea.l [A5 - 0x166]
00000026 A86E syscall InitGraf
00000028 A8FE syscall InitFonts
0000002A A912 syscall InitWindows
0000002C 2F3C 0000 FF70 move.l -[A7], 0xFF70
00000032 201F move.l D0, [A7]+
00000034 A032 syscall FlushEvents
00000036 A930 syscall InitMenus
00000038 A9CC syscall TEInit
0000003A 42A7 clr.l -[A7]
0000003C A97B syscall InitDialogs
0000003E 42A7 clr.l -[A7]
00000040 3F3C 0004 move.w -[A7], 0x4
00000044 A9B9 syscall GetCursor
00000046 285F movea.l A4, [A7]+
00000048 A850 syscall InitCursor
0000004A 200C move.l D0, A4
0000004C 6704 beq +0x6 /* 00000052 */
0000004E 2F14 move.l -[A7], [A4]
00000050 A851 syscall SetCursor
label00000052:
00000052 486D FD04 pea.l [A5 - 0x2FC]
00000056 4EBA 00BC jsr [PC + 0xBC /* 00000114 */]
0000005A 486D FCE8 pea.l [A5 - 0x318]
0000005E 42A7 clr.l -[A7]
00000060 4267 clr.w -[A7]
00000062 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
00000066 486D FCE0 pea.l [A5 - 0x320]
0000006A 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF
00000070 3F3C FFFF move.w -[A7], 0xFFFF
00000074 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
00000078 42A7 clr.l -[A7]
0000007A 70FF moveq.l D0, 0xFFFFFFFF
0000007C 2F00 move.l -[A7], D0
0000007E 4EAD 04CA jsr [A5 + 0x4CA /* export_149 */]
00000082 2B5F FD24 move.l [A5 - 0x2DC], [A7]+
00000086 42A7 clr.l -[A7]
00000088 A8D8 syscall NewRgn
0000008A 2B5F FCDC move.l [A5 - 0x324], [A7]+
0000008E 102D FD17 move.b D0, [A5 - 0x2E9]
00000092 670C beq +0xE /* 000000A0 */
00000094 4267 clr.w -[A7]
00000096 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
0000009A 3B5F FCFC move.w [A5 - 0x304], [A7]+
0000009E 600A bra +0xC /* 000000AA */
label000000A0:
000000A0 4267 clr.w -[A7]
000000A2 3EB8 0BAA move.w [A7], [0x00000BAA /* MBarHeight */]
000000A6 3B5F FCFC move.w [A5 - 0x304], [A7]+
label000000AA:
000000AA 41ED FCF6 lea.l A0, [A5 - 0x30A]
000000AE 43FA 002E lea.l A1, [PC + 0x2E /* 000000DE, value 0x4545255, pstring "TRUE" */]
000000B2 20D9 move.l [A0]+, [A1]+
000000B4 3091 move.w [A0], [A1]
000000B6 41ED FCF0 lea.l A0, [A5 - 0x310]
000000BA 43FA 001C lea.l A1, [PC + 0x1C /* 000000D8, value 0x546414C, pstring "FALSE" */]
000000BE 20D9 move.l [A0]+, [A1]+
000000C0 3091 move.w [A0], [A1]
000000C2 422D FD00 clr.b [A5 - 0x300]
000000C6 1B6D FD00 FD20 move.b [A5 - 0x2E0], [A5 - 0x300]
000000CC 1B7C 0001 FCD4 move.b [A5 - 0x32C], 0x1
000000D2 285F movea.l A4, [A7]+
000000D4 4E5E unlink A6
000000D6 4E75 rts
000000D8 0546 bchg D6, D2
000000DA 414C chk.w D0, A4
000000DC 5345 subq.w D5, 1
000000DE 0454 5255 subi.w [A4], 0x5255 /* 'RU' */
000000E2 4500 .invalid 2, D0 // invalid opcode 4 with b == 4
export_758:
000000E4 4E56 FFE4 link A6, -0x001C
000000E8 2F07 move.l -[A7], D7
000000EA 206E 0008 movea.l A0, [A6 + 0x8]
000000EE 43EE FFE6 lea.l A1, [A6 - 0x1A]
000000F2 7005 moveq.l D0, 0x05
label000000F4:
000000F4 22D8 move.l [A1]+, [A0]+
000000F6 51C8 FFFC dbf D0, -0x6 /* 000000F4 */
000000FA 3290 move.w [A1], [A0]
000000FC 7E01 moveq.l D7, 0x01
000000FE 1007 move.b D0, D7
00000100 6704 beq +0x6 /* 00000106 */
00000102 C02E FFF6 and.b D0, [A6 - 0xA]
label00000106:
00000106 1E00 move.b D7, D0
00000108 1D47 000C move.b [A6 + 0xC], D7
0000010C 2E1F move.l D7, [A7]+
0000010E 4E5E unlink A6
00000110 2E9F move.l [A7], [A7]+
00000112 4E75 rts
fn00000114:
00000114 4E56 FFFA link A6, -0x0006
00000118 48E7 0118 movem.l -[A7], D7,A3,A4
0000011C 266E 0008 movea.l A3, [A6 + 0x8]
00000120 2F3C 0001 0000 move.l -[A7], 0x10000
00000126 2F0B move.l -[A7], A3
00000128 4EAD 04A2 jsr [A5 + 0x4A2 /* export_144 */]
0000012C 3E1F move.w D7, [A7]+
0000012E 286E 0008 movea.l A4, [A6 + 0x8]
00000132 7000 moveq.l D0, 0x00
00000134 2F00 move.l -[A7], D0
00000136 4267 clr.w -[A7]
00000138 3EB8 0B22 move.w [A7], [0x00000B22 /* HWCfgFlags */]
0000013C 321F move.w D1, [A7]+
0000013E 201F move.l D0, [A7]+
00000140 3001 move.w D0, D1
00000142 C0BC 0000 0400 and.l D0, 0x400
00000148 4A80 tst.l D0
0000014A 5EC0 sgt D0
0000014C 4400 neg.b D0
0000014E 1940 0018 move.b [A4 + 0x18], D0
00000152 7000 moveq.l D0, 0x00
00000154 2F00 move.l -[A7], D0
00000156 4267 clr.w -[A7]
00000158 3EB8 0B22 move.w [A7], [0x00000B22 /* HWCfgFlags */]
0000015C 321F move.w D1, [A7]+
0000015E 201F move.l D0, [A7]+
00000160 3001 move.w D0, D1
00000162 C0BC FFFF 8000 and.l D0, 0xFFFF8000
00000168 4A80 tst.l D0
0000016A 5EC0 sgt D0
0000016C 4400 neg.b D0
0000016E 1940 0017 move.b [A4 + 0x17], D0
00000172 70FF moveq.l D0, 0xFFFFFFFF
00000174 B06C 0002 cmp.w D0, [A4 + 0x2]
00000178 5DC0 slt D0
0000017A 4400 neg.b D0
0000017C 1940 0010 move.b [A4 + 0x10], D0
00000180 6708 beq +0xA /* 0000018A */
00000182 197C 0001 0011